<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="generator" content="Doxygen 1.8.10" />
    <title>ZRDDS: SampleInfo类 参考</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
    <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
    <link href="static/css/bootstrap.css" rel="stylesheet" />
    <!-- <link href="static/css/sticky-footer-navbar.css" rel="stylesheet">
    <script type="text/javascript" src="static/js/bootstrap.js"></script> -->
    <script type="text/javascript" src="static/js/doxy-boot.js"></script>
</head>
<body>
    <div id="top">
        <!-- do not remove this div, it is closed by doxygen! -->
        <!-- end header part --><!-- 制作者 Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="examples.html"><span>示例</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SampleInfo类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>数据读者为每一个接收到的数据维护的样本信息。  
 <a href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a480ea858a1c85146e9ea4a651f1f688c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a480ea858a1c85146e9ea4a651f1f688c"></a>
<a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_state_kind.html">SampleStateKind</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a480ea858a1c85146e9ea4a651f1f688c">sample_state</a> = SampleStateKind.NOT_READ_SAMPLE_STATE_KIND</td></tr>
<tr class="memdesc:a480ea858a1c85146e9ea4a651f1f688c"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据关联的样本状态。 <br /></td></tr>
<tr class="separator:a480ea858a1c85146e9ea4a651f1f688c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a532ecd9c7b9f958227ca974438d66bc7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a532ecd9c7b9f958227ca974438d66bc7"></a>
<a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_view_state_kind.html">ViewStateKind</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a532ecd9c7b9f958227ca974438d66bc7">view_state</a> = ViewStateKind.NEW_VIEW_STATE_KIND</td></tr>
<tr class="memdesc:a532ecd9c7b9f958227ca974438d66bc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据关联的视图状态。 <br /></td></tr>
<tr class="separator:a532ecd9c7b9f958227ca974438d66bc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99d82cb09f8cae79002de54e2a123741"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99d82cb09f8cae79002de54e2a123741"></a>
<a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_state_kind.html">InstanceStateKind</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a99d82cb09f8cae79002de54e2a123741">instance_state</a> = InstanceStateKind.ALIVE_INSTANCE_STATE_KIND</td></tr>
<tr class="memdesc:a99d82cb09f8cae79002de54e2a123741"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据关联的实例状态。 <br /></td></tr>
<tr class="separator:a99d82cb09f8cae79002de54e2a123741"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b89244cf975152b0acbb55e31c8a31"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1b89244cf975152b0acbb55e31c8a31"></a>
final <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_duration__t.html">Duration_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#ad1b89244cf975152b0acbb55e31c8a31">source_timestamp</a> = new <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_duration__t.html">Duration_t</a>()</td></tr>
<tr class="memdesc:ad1b89244cf975152b0acbb55e31c8a31"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据的源时间戳。 <br /></td></tr>
<tr class="separator:ad1b89244cf975152b0acbb55e31c8a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac749998d76346834386b6e0a5d78a0f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac749998d76346834386b6e0a5d78a0f0"></a>
final <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sequence_number__t.html">SequenceNumber_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#ac749998d76346834386b6e0a5d78a0f0">writer_sequence_number</a> = new <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sequence_number__t.html">SequenceNumber_t</a>()</td></tr>
<tr class="memdesc:ac749998d76346834386b6e0a5d78a0f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据在发布端的序列号。 <br /></td></tr>
<tr class="separator:ac749998d76346834386b6e0a5d78a0f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d40e64a774bb5b7a0b3703b134162f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d40e64a774bb5b7a0b3703b134162f4"></a>
final <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_handle__t.html">InstanceHandle_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a9d40e64a774bb5b7a0b3703b134162f4">instance_handle</a> = new <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_handle__t.html">InstanceHandle_t</a>()</td></tr>
<tr class="memdesc:a9d40e64a774bb5b7a0b3703b134162f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据所属的数据实例的唯一标识。 <br /></td></tr>
<tr class="separator:a9d40e64a774bb5b7a0b3703b134162f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad31268cb018eaff56ce5cf62de87466a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad31268cb018eaff56ce5cf62de87466a"></a>
final <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_handle__t.html">InstanceHandle_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#ad31268cb018eaff56ce5cf62de87466a">publication_handle</a> = new <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_handle__t.html">InstanceHandle_t</a>()</td></tr>
<tr class="memdesc:ad31268cb018eaff56ce5cf62de87466a"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送此数据的数据写者的唯一标识。 <br /></td></tr>
<tr class="separator:ad31268cb018eaff56ce5cf62de87466a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a476b4074c2b7546c750b469d9ae617c5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a476b4074c2b7546c750b469d9ae617c5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a476b4074c2b7546c750b469d9ae617c5">disposed_generation_count</a></td></tr>
<tr class="memdesc:a476b4074c2b7546c750b469d9ae617c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据所属的数据实例状态从 <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_state_kind.html#ada614f99d2738c79d27007f4ff5e87a8" title="此状态表示样本所属数据实例处于被销毁状态。 ">InstanceStateKind.NOT_ALIVE_DISPOSED_INSTANCE_STATE</a> 变成 <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_state_kind.html#afe7beffeb15e9f64e081da8e9d36d1dc" title="此状态表示样本所属数据实例处于存活状态。 ">InstanceStateKind.ALIVE_INSTANCE_STATE</a> 的次数。 <br /></td></tr>
<tr class="separator:a476b4074c2b7546c750b469d9ae617c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb271079a2e8b595e62c284524e0025"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adeb271079a2e8b595e62c284524e0025"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#adeb271079a2e8b595e62c284524e0025">no_writers_generation_count</a></td></tr>
<tr class="memdesc:adeb271079a2e8b595e62c284524e0025"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据所属的数据实例状态从 <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_state_kind.html#a0ddab9c7e2ed6bb60880804cf635c50b" title="此状态表示样本所属数据实例处于被注销状态。 ">InstanceStateKind.NOT_ALIVE_NO_WRITERS_INSTANCE_STATE</a> 变成 <a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_instance_state_kind.html#afe7beffeb15e9f64e081da8e9d36d1dc" title="此状态表示样本所属数据实例处于存活状态。 ">InstanceStateKind.ALIVE_INSTANCE_STATE</a> 的次数。 <br /></td></tr>
<tr class="separator:adeb271079a2e8b595e62c284524e0025"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c4257620d020869b51fe280bddf26ef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c4257620d020869b51fe280bddf26ef"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a6c4257620d020869b51fe280bddf26ef">sample_rank</a></td></tr>
<tr class="memdesc:a6c4257620d020869b51fe280bddf26ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">在read/take返回的序列中的同一实例的数据中，此数据后面的数据的个数。 <br /></td></tr>
<tr class="separator:a6c4257620d020869b51fe280bddf26ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addfab088cca35071811739bbe9088092"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addfab088cca35071811739bbe9088092"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#addfab088cca35071811739bbe9088092">generation_rank</a></td></tr>
<tr class="memdesc:addfab088cca35071811739bbe9088092"><td class="mdescLeft">&#160;</td><td class="mdescRight">在read/take返回的序列中的同一实例的数据中， 最新的数据（MRSIC）与此数据的代数（generation）差。 <br /></td></tr>
<tr class="separator:addfab088cca35071811739bbe9088092"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75af5ca8cf916afcd041121574675b6b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75af5ca8cf916afcd041121574675b6b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#a75af5ca8cf916afcd041121574675b6b">absolute_generation_rank</a></td></tr>
<tr class="memdesc:a75af5ca8cf916afcd041121574675b6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">在同一实例的数据（不需要属于同一返回序列）中， 最新的数据（MRS）与此数据的代数（generation）差 <br /></td></tr>
<tr class="separator:a75af5ca8cf916afcd041121574675b6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab473abaf1ac3befe9c877bf912642efa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab473abaf1ac3befe9c877bf912642efa"></a>
boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html#ab473abaf1ac3befe9c877bf912642efa">valid_data</a></td></tr>
<tr class="memdesc:ab473abaf1ac3befe9c877bf912642efa"><td class="mdescLeft">&#160;</td><td class="mdescRight">此值为true表示为真实数据，而不是其他数据（如状态数据）。 <br /></td></tr>
<tr class="separator:ab473abaf1ac3befe9c877bf912642efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>数据读者为每一个接收到的数据维护的样本信息。 </p>
<p>此信息会在使用 DataReader.read/take 获取数据时与取出的样本样本一同提供给用户。 </p>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>SampleInfo.java</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>com</b></li><li class="navelem"><b>zrdds</b></li><li class="navelem"><a class="el" href="namespacecom_1_1zrdds_1_1infrastructure.html">infrastructure</a></li><li class="navelem"><a class="el" href="classcom_1_1zrdds_1_1infrastructure_1_1_sample_info.html">SampleInfo</a></li>
    <li class="footer">
      <a href="http://www.zrtechnology.com">&copy; Copyright (c) 2018 ZhenRong Technology, Inc. All rights reserved.</a>
    </li>
  </ul>
</div>
</body>
</html>
